public static void encryptFile( Stream input, Stream output, PDFSecurityHandler securityHandler, boolean enableObjectCompression ) |
Parameters
- input
- Stream containing the input PDF file.
- output
- Stream for storing the encrypted PDF file.
- securityHandler
- The security handler used for encryption.
- enableObjectCompression
- If true then the internal structure of the output PDF file is compressed.